import Vue from 'vue'
import App from './App.vue'
// import Stripe from 'stripe';
import router from './router'
import Vuetify from 'vuetify';
import colors from 'vuetify/es5/util/colors'
import 'vuetify/dist/vuetify.min.css' 
import iView from 'iview';
import locale from 'iview/dist/locale/en-US';
import 'iview/dist/styles/iview.css';

Vue.config.productionTip = false

Vue.use(Vuetify,  {
  theme: {
    primary: colors.teal.accent1 // #E53935
  }
});
Vue.use(iView, { locale })

new Vue({
  router, /** 使用路由 */
  render: h => h(App),
}).$mount('#app')



// Vue.prototype.$stripe = Stripe('sk_test_4eC39HqLyjWDarjtT1zdp7dc');
// window.onload(
//   $stripe = Stripe('pk_test_TYooMQauvdEDq54NiTphI7jx')
// );



// var a= stripe.customers.update('cus_V9T7vofUbZMqpv', {
//   source: 'tok_visa',
// });

// console.log(stripe)